package com.cdtye.shuoh.domain.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 设备消息
 * @author ZhongWang Wang
 * @date 2022-12-21
 */
@ApiModel("设备消息")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("IOT_DEVICE_DATAS")
public class DeviceDatas extends BaseEntity {
    
    @ApiModelProperty(value = "设备标识")
    private String deviceIdentification;

    @ApiModelProperty(value = "消息ID")
    private String messageId;

    @ApiModelProperty(value = "topic")
    private String topic;

    @ApiModelProperty(value = "内容消息")
    private String message;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "订阅消息的级别")
    private int qos;

}